<?php
  // Classe definissant une exception non encore implementee
  //Auteur : Sebastian Mosser
  
class ToDoException extends Exception {

	private $_function;
	
	public function __construct($caller) {
		$this->_function = $caller;
		parent::__construct("Not yet implemented !! ",0);
	}
	
	function __toString() {
		return $this->_toString();
	}
	
	function _toString() {
		$res = "An exception occured ... bad guy ! <br />";
		$res .= "Balloon/" . $this->_function . " ==> " . $this->message . "<br /><br />";
		$res .= "Stack contents : <br />". nl2br($this->getTraceAsString());
		return $res;
	}
	


}


?>